/**
 *  后台系统管理相关
 */
import User from '@/components/page/system/User.vue'
import Rule from '@/components/page/system/Rule.vue'
import Role from '@/components/page/system/Role.vue'
import SysLog from '@/components/page/system/SysLog.vue'
import OrderList from '@/components/page/orders/list.vue'
import MerchantList from '@/components/page/merchants/list.vue'
import SubMerchantList from '@/components/page/merchants/subMerchantlist.vue'

const route = [
    {
        name: 'system-user',
        path: '/system/user',
        component:  User,
        meta: { title: '系统用户' },
    },
    {
        name: 'system-rules',
        path: '/system/rules',
        component: Rule,
        meta: {title: '系统权限'},
    },
    {
        name: 'system-role',
        path: '/system/role',
        component:  Role,
        meta: { title: '系统角色' }
    },
    {
        name: 'system-log',
        path: '/system/sysLog',
        component:  SysLog,
        meta: { title: '后台日志' }
    },
    {
        name: 'orders',
        path: '/orders/list',
        component:  OrderList,
        meta: { title: '交易详情' }
    },

    {
        name: 'merchants',
        path: '/merchants/list',
        component:  MerchantList,
        meta: { title: '商户列表' }
    },
    {
        name: 'subMerchants',
        path: '/subMerchants/list',
        component:  SubMerchantList,
        meta: { title: '子商户列表' }
    }
]

export default route;
